package com.flaskpy.web.eternity.core.exception.enums;

import com.flaskpy.web.eternity.core.annotation.ExceptionGroup;
import com.flaskpy.web.eternity.core.exception.abs.IExceptionEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;

@RequiredArgsConstructor
@Getter
@ExceptionGroup(value = "Y",desc = "第三方服务器连接失败")
public enum  RemoteExceptionEnum implements IExceptionEnum {
    REDIS_CONNECT_ERROR("0101","服务器未能连接到redis数据库");
    private final String code;
    private final String msg;
}
